package net.tavion.angelboot.gateway.jwt;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author : tavion
 * @date : 2019/5/7 10:08
 **/
@Component
@ConfigurationProperties(prefix="spring.security.jwt")
public class JwtProperties {

    /**
     * secret key
     */
    private String secret;

    private Integer expiredTime;


    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    public Integer getExpiredTime() {
        return expiredTime;
    }

    public void setExpiredTime(Integer expiredTime) {
        this.expiredTime = expiredTime;
    }
}
